﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link href="../jquery-easyui-1.4.3/themes/icon.css" rel="stylesheet" />
    <link href="../jquery-easyui-1.4.3/themes/metro/easyui.css" rel="stylesheet" />
    <script src="../scripts/jquery.min.js"></script>
    <script src="../scripts/jquery.easyui.min.js"></script>
    <script type="text/javascript">
        $().ready(function () {
            $('#dg').datagrid({
                fitColums: true,//真正的自动展开/收缩列的大小，以适应网格的宽度
                rownumbers: true,//如果为true，则显示一个行号列
                url: '/Member/datagrid_data1.json',
                method: 'get',
                toolbar: '#top',
                //fit:true,//设置为true时，面板大小将自适应父容器
                pagination: true,//pagination如果为true，则在datagrid空间底部显示分页工具栏
                singleSelect: true,
                columns: [[
                    { field: "ck", checkbox: "true" },
                    { field: 'productid', title: 'productid', width: 100 },
                    { field: 'productname', title: 'productname', width: 100 },
                    { field: 'unitcost', title: 'unitcost', width: 100 },
                    { field: 'status', title: 'status', width: 100 },
                    { field: 'listprice', title: 'listprice', width: 100 },
                    { field: 'attr1', title: 'attr1', width: 100 },
                    { field: 'itemid', title: 'itemid', width: 100 }
                ]]
            });
        });
    </script>
    <title></title>
	<meta charset="utf-8" />
</head>
<body>
    <fieldset>
        <legend>查找会员</legend>
        <table>
            <tr>
                <td>卡号/手机:</td>
                <td><input type="text" /></td>
                <td><a id="btn" href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'">查询</a></td>
            </tr>
            <tr>
                <td>会员姓名:</td>
                <td></td>
                <td>当前等级:</td>
                <td></td>
            </tr>
            <tr>
                <td>当前积分:</td>
                <td></td>
                <td>累计消费:</td>
                <td></td>
            </tr>
        </table>
    </fieldset>
    <table id="dg"></table>
</body>
</html>
